|
|
|
|
|
|
|
Q True or False: Designing graphical user interfaces is more a function of ergonomics and human factors research than object-oriented programming. |
|
|
|
|
|
|
|
|
Q What is the benefit of creating a graphical user interface mechanism or subsystem? |
|
|
|
|
|
|
|
|
A Creating such a mechanism or subsystem helps to decouple the form from the actual business class, which maximizes the chance of reuse of your classes and forms by promoting independence among these objects. |
|
|
|
|
|
|
|
|
Q What artifact from your project is useful in creating the foundation for your GUI functionality? |
|
|
|
|
|
|
|
|
A Developing a good graphical user interface requires that you, at least, review your use cases. |
|
|
|
|
|
|
|
|
Q What class of objects controls the interaction between a form and a business class? |
|
|
|
|
|
|
|
|
A A form controller class such as FormController. |
|
|
|
|
|
|
|
|
Q What's the name of the class whose responsibility is to encapsulate the common functionality of buttons on a form? |
|
|
|
|
|
|
|
|
The workshop includes quiz questions to help gauge your grasp of the material. You will find the answers to this quiz in Appendix A, Answers. Even if you feel that you understand the concepts presented here, you should work through the quiz. The last section contains exercises to help reinforce your learning. |
|
|
|
|
|
|
|
|
1. What are some benefits of scenario scripts? |
|
|
|
|
|
|
|
|
2. What design pattern is useful for implementing the undo operations for an Undo button? |
|
|
|
|
|
|
|
|
3. What are some negative aspects of naming buttons OK and Cancel? |
|
|
|
|
|
|
|
|
4. What are the main requirements of an undo operation? |
|
|
|
|
|